home *** CD-ROM | disk | FTP | other *** search
- on openQuitBoxFromIE_OLD
-
- global gQuitWindow
-
- put the desktoprectlist into xxx
- put getat(xxx, 1) into yyy
- put getat(yyy, 3) into hhh
- put getat(yyy, 4) into vvv
-
- set vWidth = 400
- set vHeight = 200
- set vPosH = integer(hhh/2) - integer(400/2)
- set vPosV = integer(vvv/2) - integer(200/2)
-
- -- FIND THE WAY BACK TO THE BROWSER
- -----------------------------------
- put the itemDelimiter into itemDelimiterSaver
- if the machinetype = 256 then
- set the itemDelimiter = "\"
- else
- set the itemDelimiter = ":"
- end if
- global gBrowserMoviePath
- put gBrowserMoviePath into TheWayBack
- delete item (the number of items in TheWayBack) of TheWayBack
- put TheWayBack & the itemDelimiter into TheWayBack
- put itemDelimiterSaver into itemDelimiter
- -----------------------------------
-
- set gQuitWindow = window "Are You Sure?"
- set the fileName of gQuitWindow = (TheWayBack & "quitBox")
- set the windowType of gQuitWindow = 16
- set the rect of gQuitWindow = rect(vPosH, vPosV, vPosH + vWidth, vPosV + vHeight)
- open gQuitWindow
-
- end